#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"


typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	char expr[32];
	uint32_t val;
} WP;

void init_wp_pool();
WP* new_wp();
void free_single_wp(WP *wp);
void printf_wp();
WP* get_head();
bool delete_wp(int no);

#endif
